package com.wanhong.springboot.ssm.framework.jwt;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author w_yu
 * @date 2020/11/26 14:15
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserContext {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 用户昵称
     */
    private String nickName;

}
